package cn.buyclss.backend.entity.domain;

import java.util.List;

/**
 * @author: Cecurio
 * @create: 2019-03-14 9:50
 **/
public class UserRoleRelation {

    private User user;

    private List<Role> roleList;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    @Override
    public String toString() {
        return "UserRole{" +
            "user=" + user +
            ", roleList=" + roleList +
            '}';
    }
}
